package com.curry.log.dervice;

import android.content.pm.PackageManager;
import android.telephony.TelephonyManager;

public class Device {

	

	private  String mobilePhone;
	/*** 如果是GSM网络，返回IMEI；如果是CDMA网络，返回MEID */
	private  String deviceID;


	/* ===== 手机型号信息 ===== */
	/**
	 * 手机型号
	 */
	private  String phoneModel;

	/* ===== 手机OS信息 ===== */
	/** Android操作系统版本 */
	private  int osLevel;
	private  String OS="android";


	/* ===== 手机显示信息 ===== */
	private  int dispDpi;
	/** 屏幕高度 */
	private  int dispHeight;
	/** 屏幕宽度 */
	private  int dispWidth;
	
	/* ===== App信息 ===== */
	
	private  String memberID=null;

	public Device(String mobilePhone,String deviceID,String phoneModel,int osLevel,int dispDpi,int dispHeight,int dispWidth,String memberID){
		this.deviceID=deviceID;
		this.memberID=memberID;
		this.mobilePhone=mobilePhone;
		this.deviceID=deviceID;
		this.phoneModel=phoneModel;
		this.osLevel=osLevel;
		this.dispDpi=dispDpi;
	}

	public String getMobilePhone() {
		return mobilePhone;
	}

	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}

	public String getDeviceID() {
		return deviceID;
	}

	public void setDeviceID(String deviceID) {
		this.deviceID = deviceID;
	}

	public String getPhoneModel() {
		return phoneModel;
	}

	public void setPhoneModel(String phoneModel) {
		this.phoneModel = phoneModel;
	}

	public int getOsLevel() {
		return osLevel;
	}

	public void setOsLevel(int osLevel) {
		this.osLevel = osLevel;
	}

	public String getOS() {
		return OS;
	}

	public void setOS(String oS) {
		OS = oS;
	}

	public int getDispDpi() {
		return dispDpi;
	}

	public void setDispDpi(int dispDpi) {
		this.dispDpi = dispDpi;
	}

	public int getDispHeight() {
		return dispHeight;
	}

	public void setDispHeight(int dispHeight) {
		this.dispHeight = dispHeight;
	}

	public int getDispWidth() {
		return dispWidth;
	}

	public void setDispWidth(int dispWidth) {
		this.dispWidth = dispWidth;
	}

	public String getMemberID() {
		return memberID;
	}

	public void setMemberID(String memberID) {
		this.memberID = memberID;
	}

}
